package com.xingda.packing.dmds.minitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xingda.packing.dmds.minitor.entity.PkBoxLocation;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author anxiaoning
 * @since 2021-07-03
 */
@Mapper
@Component("pkBoxLocationDMDSMapper")
public interface PkBoxLocationMapper extends BaseMapper<PkBoxLocation> {

    @MapKey("layer")
    List<Map<String,Object>> getPkBoxLayerList(@Param("taskIds") List<Integer> taskIds);
}
